package com.life.wd.mapper;

import com.github.pagehelper.Page;
import com.life.wd.dto.VideoDTO;
import com.life.wd.dto.VideoSearchDTO;
import com.life.wd.vo.VideoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface VideoMapper {

    Integer getVideoByLikeId(Long id);
    Integer getVideoByCollectId(Long id);


    void checkVideo(VideoDTO videoDTOList);

    Page<VideoVO> pageQuery(VideoSearchDTO videoSearchDTO);
}
